<div data-mpa-powered-by="yiban.io">
    <uni-view  style="padding: 10px;height: 150px; overflow: hidden; display: flex; align-items: center; position: relative;">
      <uni-image style="width: 100%; height: 274px;">
        <div style="background-image: url('<%= post.thumb_url %>'); background-size: 100% 100%;">
        </div>
      <img src="<%= post.thumb_url %>" draggable="false">
    </uni-image>
  </uni-view>
  
    <% tasks.forEach(task => { %>
      <div style="display: flex;flex-direction: column;">
        <div style="border-radius: 0.46875rem;box-shadow: rgba(136, 136, 136, 0.333) 0px 0px 14px 0px;margin: 0.625rem;">
          <div style="display: flex;justify-content: space-between;padding: 0.9375rem 0.625rem 0px;">
            <div style="font-weight: bold;font-size: 18px;align-items: center;">
              <%= task.title %>
            </div>
            <div style="color: rgb(136, 136, 136);font-size: 13px;">
              <a style="font-size: 12px;" href="http://www.apesk.net/h5/#/pages/job/user/job-details/job-details?id=1424">详情报名</a>
            </div>
          </div>
          <div style="display: flex;justify-content: space-between;padding: 0.9375rem 0.625rem 0px;">
            <div style="display: flex;font-size: 13px;align-items: center;">
              <%= task.start_date %>
            </div>
            <div style="color: rgb(136, 136, 136);font-size: 13px;">
              <text style="font-size: 20px;color: orangered;padding: 0px 0.3125rem;">
                <%= task.jobs[0].price %>元
              </text>
              <text style="font-size: 12px;">
                <%= task.jobs[0].price_type %>/<%= task.jobs[0].settle_type %>
              </text>
            </div>
          </div>
          <div style="display: flex;justify-content: space-between;padding: 0.625rem 0.625rem 0px;">
            <div style="color: rgb(136, 136, 136);font-size: 13px;display: flex;align-items: center;">
              <%= task.city %>.<%= task.district %> <%= task.address %>
            </div>
          </div>
          <div style="display: flex;justify-content: flex-start;flex-wrap: wrap;padding: 0.625rem;">
            <div style="color: rgb(136, 136, 136);font-size: 13px;background-color: rgb(238, 238, 238);margin: 0.3125rem 0.3125rem 0px 0px;padding: 4px 5px;border-radius: 5px;">提前30分钟到场
            </div>
            <div style="color: rgb(136, 136, 136);font-size: 13px;background-color: rgb(238, 238, 238);margin: 0.3125rem 0.3125rem 0px 0px;padding: 4px 5px;border-radius: 5px;">提供晚餐
            </div>
            <div style="color: rgb(136, 136, 136);font-size: 13px;background-color: rgb(238, 238, 238);margin: 0.3125rem 0.3125rem 0px 0px;padding: 4px 5px;border-radius: 5px;">要求女生
            </div>
            <div style="color: rgb(136, 136, 136);font-size: 13px;background-color: rgb(238, 238, 238);margin: 0.3125rem 0.3125rem 0px 0px;padding: 4px 5px;border-radius: 5px;">加班补贴
            </div>
            <div style="color: rgb(136, 136, 136);font-size: 13px;background-color: rgb(238, 238, 238);margin: 0.3125rem 0.3125rem 0px 0px;padding: 4px 5px;border-radius: 5px;">节日礼品
            </div>
            <div style="color: rgb(136, 136, 136);font-size: 13px;background-color: rgb(238, 238, 238);margin: 0.3125rem 0.3125rem 0px 0px;padding: 4px 5px;border-radius: 5px;">隔天住宿
            </div>
            <div style="color: rgb(136, 136, 136);font-size: 13px;background-color: rgb(238, 238, 238);margin: 0.3125rem 0.3125rem 0px 0px;padding: 4px 5px;border-radius: 5px;">身高170cm以上
            </div>
          </div>
          <div style="display: flex;padding: 0px 0.625rem 0.625rem;">
            <div style="width: 100%;color: rgb(136, 136, 136);font-size: 13px;background-color: rgb(238, 238, 238);margin: 0.3125rem 0px 0px;padding: 4px 5px;border-radius: 5px;">
              <%- task.content %>
            </div>
          </div>
          <div style="padding-bottom: 0.3125rem;">
            <% task.jobs.forEach(job => { %>
              <div style="padding: 0.625rem;border-top: 0.03125rem solid rgb(238, 238, 238);display: flex;justify-content: space-between;">
                <div style="font-weight: bold;font-size: 14px;">
                  <%= job.name %>
                </div>
                <div style="font-size:14px">下午 <%= job.start_time %>
                </div>
              </div>
            <% }) %>
          </div>
        </div>
      </div>
    <% }) %>
     
    